﻿using System;

namespace enyo
{
    public class ToggleButton : Control
    {
        public bool State { get; set; }
        public string OnLabel { get; set; }
        public string OffLabel { get; set; }


        /// <summary>
        /// The onChange event fires when the user changes the state of the toggle button, but not when the state is changed programmatically.
        /// </summary>
        public EnyoEvent<Control> onChange;
    }
}
